Optimal. Leaf size=55 \[ \frac{i}{3 a^2 d (a+i a \tan (c+d x))^6}-\frac{i}{5 a^3 d (a+i a \tan (c+d x))^5} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0479161, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {3487, 43} \[ \frac{i}{3 a^2 d (a+i a \tan (c+d x))^6}-\frac{i}{5 a^3 d (a+i a \tan (c+d x))^5} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3487
Rule 43
Rubi steps
\begin{align*} \int \frac{\sec ^4(c+d x)}{(a+i a \tan (c+d x))^8} \, dx &=-\frac{i \operatorname{Subst}\left (\int \frac{a-x}{(a+x)^7} \, dx,x,i a \tan (c+d x)\right )}{a^3 d}\\ &=-\frac{i \operatorname{Subst}\left (\int \left (\frac{2 a}{(a+x)^7}-\frac{1}{(a+x)^6}\right ) \, dx,x,i a \tan (c+d x)\right )}{a^3 d}\\ &=\frac{i}{3 a^2 d (a+i a \tan (c+d x))^6}-\frac{i}{5 a^3 d (a+i a \tan (c+d x))^5}\\ \end{align*}
Mathematica [A] time = 0.20986, size = 78, normalized size = 1.42 \[ \frac{i \sec ^8(c+d x) (16 i \sin (2 (c+d x))+10 i \sin (4 (c+d x))+64 \cos (2 (c+d x))+20 \cos (4 (c+d x))+45)}{960 a^8 d (\tan (c+d x)-i)^8} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.12, size = 36, normalized size = 0.7 \begin{align*}{\frac{1}{d{a}^{8}} \left ( -{\frac{1}{5\, \left ( \tan \left ( dx+c \right ) -i \right ) ^{5}}}-{\frac{{\frac{i}{3}}}{ \left ( \tan \left ( dx+c \right ) -i \right ) ^{6}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.1587, size = 165, normalized size = 3. \begin{align*} -\frac{7 \,{\left (3 \, \tan \left (d x + c\right )^{2} - i \, \tan \left (d x + c\right ) + 2\right )}}{{\left (105 \, a^{8} \tan \left (d x + c\right )^{7} - 735 i \, a^{8} \tan \left (d x + c\right )^{6} - 2205 \, a^{8} \tan \left (d x + c\right )^{5} + 3675 i \, a^{8} \tan \left (d x + c\right )^{4} + 3675 \, a^{8} \tan \left (d x + c\right )^{3} - 2205 i \, a^{8} \tan \left (d x + c\right )^{2} - 735 \, a^{8} \tan \left (d x + c\right ) + 105 i \, a^{8}\right )} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.32729, size = 205, normalized size = 3.73 \begin{align*} \frac{{\left (15 i \, e^{\left (8 i \, d x + 8 i \, c\right )} + 40 i \, e^{\left (6 i \, d x + 6 i \, c\right )} + 45 i \, e^{\left (4 i \, d x + 4 i \, c\right )} + 24 i \, e^{\left (2 i \, d x + 2 i \, c\right )} + 5 i\right )} e^{\left (-12 i \, d x - 12 i \, c\right )}}{960 \, a^{8} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: AttributeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.17525, size = 220, normalized size = 4. \begin{align*} -\frac{2 \,{\left (15 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{11} - 60 i \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{10} - 235 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{9} + 480 i \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{8} + 822 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{7} - 904 i \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{6} - 822 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{5} + 480 i \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{4} + 235 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{3} - 60 i \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{2} - 15 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )\right )}}{15 \, a^{8} d{\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) - i\right )}^{12}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]